let mongoose = require('mongoose')
module.exports = mongoose.model('bankcard', {
    userid: {
        type: String,
        required: true
    },
    name: {
        type: String,
        required: true
    },
    bankid: {
        type: String,
        required: true
    },
    bankname: {
        type: String,
        required: true
    },
    phonenumber: {
        type: String,
        required: true
    },
    idcard: {
        type: Number,
        required: true
    }
})